package cate.game.role.mail.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBMail;

@ClientMsg(title = "我的邮件数据(包含所有邮件) の 请求")
public class MailMyReq implements MsgInput {

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.sendNow(new MailMyResp(cc.getRole()));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBMail.MY_MAIL_REQ;
    }
}
